var oBox = document.getElementById('skip')

function hasEle (ele, cls) {
  return ele.className == cls
}

function hasEle (ele, cls) {
  var clsname = ele.className
  return clsname == cls
}

console.log(hasEle(oBox, 'skip'))